/*
 * Improbability Drive
 * Phillip Cardon, Thach Nguyen, Cristopher Claeys
 * 4/26/2011
 */

package testers;

import java.net.URL;

//import javax.swing.plaf.SliderUI;

import buffers.SynchronizedBuffer;

public class ThreadTest {
	public static void main (String args[]) {
		System.out.println("testing");
		SynchronizedBuffer<URL> urlBuffer = new SynchronizedBuffer<URL>();
		Thread adder1 = new AddUrls(urlBuffer);
		//Thread adder2 = new AddUrls(urlBuffer);
		//Thread adder3 = new AddUrls(urlBuffer);
		//Thread adder4 = new AddUrls(urlBuffer);
		//Thread adder5 = new AddUrls(urlBuffer);
		//Thread adder6 = new AddUrls(urlBuffer);
		Thread subtracter = new RemoveUrls(urlBuffer);
		Thread subtracter1 = new RemoveUrls(urlBuffer);
		Thread subtracter2 = new RemoveUrls(urlBuffer);
		adder1.start();
		/*adder2.start();
		adder3.start();
		adder4.start();
		adder5.start();
		adder6.start();*/
		subtracter.start();
		subtracter1.start();
		subtracter2.start();
	}
}
